package com.wuxiaofan.auth.mapper;
import org.springframework.stereotype.Component;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wuxiaofan.auth.entity.OauthClientDetails;
import com.wuxiaofan.auth.entity.custom.OauthClientDetailsCustom;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import java.util.List;
import java.util.Map;

/**
 *
 */
@Component
public interface OauthClientDetailsMapper extends BaseMapper<OauthClientDetails> {
    public List<OauthClientDetailsCustom> findByMap(@Param("map") Map paraMap, Page page);

    public List<OauthClientDetailsCustom> findByMap(@Param("map") Map paraMap);

    public OauthClientDetailsCustom findCountByMap(@Param("map") Map paraMap);

    public OauthClientDetailsCustom findGroupByMap(@Param("map") Map paraMap);


    public void updateMapById(@Param("map") Map paraMap);

    OauthClientDetailsCustom selectByClientId(@Param("clientId") String clientId);
}
